import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
    state: {
         //reqUrl: '',
         // reqUrl: 'http://192.168.0.107:8081/ewj',
        reqUrl: 'http://www.ewj100.com/ewj',
        //reqUrl: 'http://www.ewj100.com/test',
        //reqUrl: 'http://k060mel.hk1.mofasuidao.cn',
        //reqUrl: '/pc',

        /*isShowHeader:false,
        isShowFooter:false,
        navTitle:"",
        //产品详情返回到产品列表页
        isProduct:'',
        //获取店铺接口
        shop_url:'',
        //获取详情id
        shop_rentSerial:'',
        //扫描二维码结果
        scan_result:'',
        //判断订单信息
        order_name:'',*/

        //选择店铺的id
        shop_id:'',
        shop_name:'',
 /*     status:true,*/
        active_data:''
    },
    // mutations: {
    //     setHeaderBar(state,isShow){
    //         // console.log(isShow)
    //         state.isShowHeader = false
    //     },
    //     setNavTitle(state,title){
    //         state.navTitle = title
    //     }
    // },
    actions: {}
});
